package com.lagou.dao;

import com.lagou.po.Resume;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * created by kirito at 2020/8/11
 */
public interface ResumeRepository extends MongoRepository<Resume, String> {

    Resume findByNameAndCity(String name, String city);

    void deleteByName(String name);
}
